package com.bl.student.service.vo.teacher;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * Created by yujingyi on 2018/2/25.
 */
@Data
public class StudentRemarkRequest {
    @ApiModelProperty(value = "学生id")
    @NotNull(message = "学生id不能为空")
    private String studentId;

    @ApiModelProperty(value = "备注")
    @NotNull(message = "备注不能为空")
    @Size(max = 16, message = "备注不能超过20个字")
    private String remark;
}
